import java.awt.BorderLayout;
import java.awt.Button;
import java.awt.Color;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.GridLayout;
import java.awt.Panel;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.io.File;
import java.io.IOException;

import javax.swing.*;

import twitter4j.Trend;
import twitter4j.Twitter;
import twitter4j.TwitterException;
import twitter4j.TwitterFactory;
import twitter4j.conf.ConfigurationBuilder;
import twitter4j.internal.org.json.JSONException;

public class MainFrame1 extends JFrame {

	public MainFrame1() 
	{
		super("State Farm Twitter Optimizer");
		
		this.setMinimumSize(new Dimension(852,480));
		this.setResizable(false);
		
		
		JTabbedPane tab = new JTabbedPane();
		
		LocationTrendPanel p = new LocationTrendPanel();


		tab.add(p,"Trends");

		this.add(tab);
	}
	

	
	
	
	
	public static void main(String[] args) {
		MainFrame1 frame = new MainFrame1();
		frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
				frame.pack();
		frame.setVisible(true);
		
	}

}
